package com.yesido.moshi.seven.inversion;

/**
 * @author yesido
 * @description
 * @date 2023-06-11 23:52
 * @Version 8.3
 */
public class DependecyInversion1Improve {
    public static void main(String[] args) {
        //客户端无需改变
        Person person = new Person();
        person.receive(new Email());

        person.receive(new WeChat());
    }
}
